
const myToken = "token_auth"

export function getToken() {
	return uni.getStorageSync(myToken);
}

export function setToken(token) {
	//登录成功，保存token
	return uni.setStorageSync(myToken, token);
}

export function removeToken() {
	return uni.removeStorageSync(myToken);
}